package com.linzp.bishe.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.linzp.bishe.entity.Zproject;
import lombok.Data;

/**
 * @ClassName ZprojectExcel
 * @Description 描述
 * @Author LinZePeng
 * @Date 2022/2/28 23:53
 * @Version 1.0
 */
@Data
public class ZprojectExcel {
	@ExcelProperty("项目名称")
	private String projectName;

	@ExcelProperty("项目编号")
	private String numbers;

	@ExcelProperty("来源")
	private String sources;

	@ExcelProperty("级别")
	private String projectLevel;

	public Zproject getZProject(){
		return new Zproject()
				.setProjectName(this.projectName)
				.setNumbers(this.numbers)
				.setSources(this.sources)
				.setProjectLevel(this.projectLevel);
	}
}
